package com.java.basic;

public class CharTests {
    public static void main(String[] args) {
        char c1;
        //字符类型变量的字面值:
        c1='B';
        c1=97;//Ascii (小写a)
        c1='\u0041';//unicode编码,大写的A
        System.out.println(c1);//'A'
    }
}
